package com.bakend.modules.sys.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * (UserInfo)表实体类
 *
 * @author dengfan
 * @since 2021-05-11 13:26:46
 */
@SuppressWarnings("serial")
public class UserInfo extends Model<UserInfo> {
    
    private Integer id;
    //邮箱
    private String email;
    //字符串列表，列表里是好友ID[2,1,4]
    private String friends;
    //用户唯一代码
    private String userCode;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getFriends() {
        return friends;
    }

    public void setFriends(String friends) {
        this.friends = friends;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }